wayland: Perform seat grab focus checks on native windows
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 27 Apr 2016 10:12:18 +0000 (12:12 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 27 Apr 2016 11:29:19 +0000 (13:29 +0200)
commit14967d8d7dbc36d535911425fab1fee19fb9d361
tree7ac2a0e96d420c5e45a81d0b771e97b0e2914425
parent0763a027c7f90feb446505f76b2c8d9ded05d6d1
wayland: Perform seat grab focus checks on native windows

We don't care about the specific (possibly client-side) window that
requested the focus here, only the toplevel. Fixes mistakenly sent
focus events when the grab happens inside the current focus window.

https://bugzilla.gnome.org/show_bug.cgi?id=762756
gdk/wayland/gdkdevice-wayland.c